extends texmath

snippet head  "header of markdown" b
---
title: ${1:title}
author: ${2:author}
date: ${3:date}
---
endsnippet

snippet today "Date"
`!p
from datetime import datetime
if not snip.c:
	snip.rv = datetime.now()
`
endsnippet


snippet box "Box"
`!p snip.rv = '┌' + '─' * (len(t[1]) + 2) + '┐'`
│ $1 │
`!p snip.rv = '└' + '─' * (len(t[1]) + 2) + '┘'`
$0
endsnippet

snippet wow
${1:Text}`!p snip.rv = (75-2*len(t[1]))*' '+t[1].upper()`
endsnippet
